package pattern.behavior.state.impl;

import pattern.behavior.state.OrderState;

public class Paid implements OrderState {
    @Override
    public void pay() {
        System.out.println("订单已支付");
    }

    @Override
    public void cancel() {
        System.out.println("订单已被取消并退款。");
    }

    @Override
    public void complete() {
        System.out.println("订单现在已完成");
    }
}
